package org.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class CreatePrizeByActivityParam implements Serializable {
    //活动关联的奖品id
    @NotNull(message = "活动关联的奖品id不能空")
    private Long prizeId;
    //奖品数量
    @NotNull(message = "活动关联的奖品数量不能空")
    private Long prizeAmount;
    //奖品等级
    @NotBlank(message = "奖品等级不能空")
    private String prizeTiers;
}
